[RPC] Add importmulti RPC command and functional test#2277
[RPC] Add importmulti RPC command and functional test#2277furszy merged 5 commits intoPIVX-Project:masterfrom
importmulti RPC command and functional test#2277Conversation
858bfb7 to
1cacda6
Compare
|
Rebased on master after #2240 merge. |
|
Functionally good. Looking at the upstream PR 7551, I did see that it was requested to change the second (optional) argument from Maybe it would be better for us to revert that argument back to a Also, the help output for this is as-written at the time of the upstream PR is a bit messy and was ultimately cleaned up. This commit (Fuzzbawls@80d160a) can be cherry-picked on top of this to take care of such cleanup while assuming that the input arguments will stay as-is. |
Moves the result detailing above the examples and expands it to improve readability. Also add missing `HelpRequiringPassphrase()`
|
Help text cleanup cherry-picked. |
465d1eb [BUG] Wallet: skip non-spendable outputs in CWallet::StakeableCoins (random-zebra) 623e146 [Tests] Fix and re-enable wallet_import_rescan (random-zebra) e50dc0a Fix importmulti failure to return rescan errors (random-zebra) c15cd17 Return errors from importmulti if complete rescans are not successful (random-zebra) df20205 [BUG] net: Consistently use GetTimeMicros() for inactivity checks (random-zebra) d92f883 [BUG][Wallet] Fix watchonly selection in AvailableCoins (random-zebra) d6958b7 [RPC][Tests] Use 2 hour grace period for key timestamps in importmulti (random-zebra) Pull request description: Based on top of - [x] #2277 Keep going down the rabbit hole... Fix and resurrect `wallet_import_rescan` functional test. ACKs for top commit: furszy: re-utACK 465d1eb Fuzzbawls: ACK 465d1eb Tree-SHA512: 782ff71d2dfbf0c56381f7de3abc729088eb8fa24517d3f24e8a7a4592a5906315ef9073a9fd8ee491a7ae72e7e4da09bb0e6252bba1eabca930379052255365
Based on top of:
rescanblockchainRPC command functionality #2240Essentially backport bitcoin#7551 and bitcoin#9490, with more recent changes to adapt to the current sources.
Fix and re-enable the
wallet_importmulti.pyfunctional test.